<template>
  <div class="my-container d-around-column">
    <tabs-header></tabs-header>
    <div class="main">
      <van-button type="danger" @click="goPage()">危险按钮</van-button>
    </div>
    <tabs-footer></tabs-footer>
  </div>
</template>

<script>
import TabsHeader from '../components/tabs/tabs-header'
import TabsFooter from '../components/tabs/tabs-footer'
export default {
  name: "Home",
  components: {TabsHeader, TabsFooter},
  data() {
    return {
    };
  },
  created() {

  },
  watch: {
  },
  methods: {
    goPage() {
      this.$router.push({name: 'demo'})
    }
  },
};
</script>

<style lang="scss" scoped>
.my-container {
  height: 100%;
  width: 100%;
  flex: 1;
  flex-basis: auto;
  box-sizing: border-box;
}
.main{
  display: block;
  flex: 1;
  flex-basis: auto;
  width: 100%;
}
</style>
